import Vue from "vue";
import App from "./App.vue";
import router from "./router";

import store from "./store";
Vue.prototype.$store = store

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// 引入自定义工具
import tools from '@/common/tools.js'  
Vue.prototype.$tools = tools

// 发送请求
import { get, post } from "@/common/request.js"
Vue.prototype.$get = get
Vue.prototype.$post = post


Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
